home *** CD-ROM | disk | FTP | other *** search
- Here is a simple cc driver for the Alcyon compiler. It will not invoke the
- linker or relmod. To invoke it type cc filename at the command prompt or
- double click on cc.ttp and give it filename as a parameter. Be sure not to
- include path info or the file extension in the filename. Those are
- provided by the program, just as they would be in a batch file. Straight
- from the package it expects the following setup:
-
- Source C files on E:\
- Include files on D:\STDLIB.H\
- Temp files and output on M:\
- Compiler/Assembler on C:\BIN\
- Symbols file on C:\BIN\
- Temporary logged in drive M
-
- Of course, that may not match your setup, so the program looks for a file
- named CC.INI on the default directory. If that file exists, it gets the
- values for the above from that file. The file reading mechanism is dumb in
- that it cannot tell what each line in the file is for. You must be certain
- that you have the order correct, that each line has no trailing whitespace,
- and that there are no blank or extra lines. Here is a sample cc.ini file:
- E:\
- D:\STDLIB.H\
- M:\
- C:\BIN\
- C:\BIN\
- M
- Note that the order is the same as the default setup and that each entry
- begins on the left margin. I've included the source, but please don't laugh
- at the funny way I've set this up. You'll need Alcyon 4.14 to compile the
- source properly, and your startup file will need the STACK variable set to
- 4. This program returns all but 16K of its heap to the operating system in
- order for it to be executable from within other programs (like editors).
- But if you have a huge ramdisk or a 520, you probably won't be able to
- Pexec() this program although it will run safely as a parent process.
-